import godWar from "../model/godWar.js"
import plugin from "../../../lib/plugins/plugin.js"
export class GodWar extends plugin {
  constructor() {
    super({
      name: "崩坏3往世乐土",
      dsc: "崩坏3往世乐土",
      event: "message",
      priority: 100,
      rule: [{ reg: "^#*崩三?(乐土|往世乐土)$", fnc: "godWar" }],
    })
  }

  async godWar() {
    let data = await new godWar().getData(this.e)
    console.log(data)
    //let img = await puppeteer.screenshot("BH3-Plugin/role", data)
    //await this.reply(img)
  }
}
